{% extends "base.html" %}
{% load uni_form_tags %}

{% block title %} Invent an idea - {{ block.super }} {% endblock %}

{% block content %}

{% ifequal next 'no' %}
<h2> Add an article reference to your ideas </h2> 

<form method="POST" class="uniForm" action ="{% url article_add %}"> 
   <fieldset> 
      {{ articleform|as_uni_form }}
   </fieldset>
<div class="buttonHolder">
    <button type="submit" class="primaryAction">Add</button>
  </div>

</form>
{% endifequal %}

{% ifequal next 'yes' %}

your article is added, <a href="{% url article_add %}">add another ?</a> 
{% endifequal %}


{% endblock %}

